//
//  SubsidyListCell.m
//  BaseProject
//
//  Created by 王洋 on 2020/8/8.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "SubsidyListCell.h"

@implementation SubsidyListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)fillCellWithModel:(CommonUserOrderModel *)model {
    
    self.catNameLab.text = model.className;
    self.timeLab.text = model.createTime;
    
    self.moneyLab.text = [NSString stringWithFormat:@"+%@",[Utilities  changeDoubleToString:model.scfAmount]];
    
    switch (model.scfStatus) {
        case 1:{
            self.statusLab.text = @"冻结";
        } break;
        case 2:{
            self.statusLab.text = @"正常";
        } break;
        case 3:{
            self.statusLab.text = @"退款";
        } break;
        default:
            break;
    }
}

@end
